package com.tothefor.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@ToString
@Accessors(chain = true)// 使用链式方法
@TableName("s_questionnaireresultcount")
public class QuestionnaireResultCount {
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private String id;

    @TableField("questionnaireId")
    private String questionnaireId;

    @TableField("questionId")
    private String questionId;

    @TableField("countA")
    private int countA;

    @TableField("countB")
    private int countB;

    @TableField("countC")
    private int countC;

    @TableField("countD")
    private int countD;

    public QuestionnaireResultCount(){

    }
}
